package com.shop.game.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.game.entry.Exchange;
import org.apache.ibatis.annotations.Param;

import java.math.BigInteger;
import java.util.List;

public interface ExchangeMapper extends BaseMapper<Exchange> {
     IPage<Exchange> selectByUserId(Page<Exchange> page, @Param("userId") BigInteger userId);
}
